<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="animate.css">
    <style>
    div{
        width: 200px;
        height: 200px;
        float: left ;
        margin: 0px;
        margin-left: 3px;
        color: #000;
        border: 1px solid brown;
    }
    
    </style>
</head>
<body>
    <div class="animated bounce"></div>
    <div class="animated bounce"></div>
    <div class="animated bounce"></div>
    <div class="animated bounce"></div>
    <div class="animated bounce"></div>
    <div class="animated bounce"></div>
    <div class="animated bounce"></div>
    <script src="js/jquery-3.3.1.min.js"></script>
    <script>
    $(function(){
        $("div").click(function(){
            var zhege=$(this);
            $(this).addClass("flash");
            setInterval(yc,200);
            function yc(){
                zhege.removeClass("flash");
            }

        })
    })
    
    </script>
</body>
</html>